package com.jingdianjichi.subject.application.convert;

import com.jingdianjichi.subject.application.dto.SubjectInfoDTO;
import com.jingdianjichi.subject.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author 董代恒
 * @version 1.0
 */
@Mapper
public interface SubjectInfoDTOConvert {

    SubjectInfoDTOConvert INSTANCE = Mappers.getMapper(SubjectInfoDTOConvert.class);

    SubjectInfoBO subjectInfoDTOToSubjectInfoBO(SubjectInfoDTO subjectInfoDTO);

    SubjectInfoDTO subjectInfoBOToSubjectInfoDTO(SubjectInfoBO subjectInfoBO);

    List<SubjectInfoDTO> subjectInfoBOListToSubjectInfoDTOList(List<SubjectInfoBO> subjectInfoBOS);
}
